package hcn.api.service.api.critical;

import ctd.controller.exception.ControllerException;
import ctd.util.annotation.RpcService;
import hcn.protocol.critical.CriticalConfirmVo;
import hcn.protocol.critical.CriticalValueRequest;
import hcn.protocol.critical.MultiDrugResistanceVo;
import hcn.protocol.critical.QueryCriticalResponse;

import java.util.List;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/1/12 10:12
 */
public interface QueryCriticalInterface {

    @RpcService
    List<QueryCriticalResponse> findCriticalValue(CriticalValueRequest request);

    @RpcService
    List<QueryCriticalResponse> findDrugResistance(CriticalValueRequest request);

    @RpcService
    void confirmCriticalValue(CriticalConfirmVo confirmVo) throws ControllerException;

    @RpcService
    public void confirmMultiDrugValue(MultiDrugResistanceVo multiDrugResistanceVo) throws ControllerException;
}
